/*
 * i2c.h
 *
 *  Created on: 10-12-2012
 *      Author: Maciej
 */

#ifndef I2C_H_
#define I2C_H_


 void i2c_init(void);
 void i2c_perform_scan(void);
 char ReadRegister(unsigned char device, unsigned char address);
 void WriteRegister(unsigned char device, unsigned char address,unsigned char value);
 short ReadRegisterW(unsigned char device, unsigned char address);

#endif /* I2C_H_ */
